package com.stedu.service;

import com.stedu.bean.Characters;
import com.stedu.exception.SteduException;

import java.util.List;

public interface CharactersService {
    long findCount(String cname,String gname) ;
    //void findbyPage(Page<CharactersVo> page, String cname,String gname) throws SQLException;
    boolean addcharacters(Characters characters) ;
    boolean delete(Long cid) ;
    boolean updatecharacters(Characters characters)throws SteduException;
    List<Characters> selectall(String cname,  String gname) ;
    Characters selectById(Long cid) ;
    String selectgname(Integer gid) ;


}
